package net.mushystuff.dogalogue.daos.springhibernate;

import java.util.HashSet;
import java.util.Set;

import net.mushystuff.dogalogue.beans.Breed;
import net.mushystuff.dogalogue.daos.BreedDAO;

class BreedDAOImpl extends GenericHibernateDAO<Breed, String> implements BreedDAO {

	@SuppressWarnings("unchecked")
	public Set<Breed> getAllBreeds() {
		return new HashSet<Breed>(findAll());
	}

}
